package com.cnap.multiclouldmgmt.model.k8sModels;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
/**
 * 集群组件基础信息
 * @author dyq
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.k8sModels.EventModel",description = "集群时间")
public class EventModel {

    //事件发生的集群名称
    @ApiModelProperty(value = "事件发生的集群名称")
    private String k8sClusterName;

    //事件发生的集群ip
    @ApiModelProperty(value = "事件发生的集群ip")
    private String k8sClusterIp;

    //云供应商
    @ApiModelProperty(value = "云供应商")
    private String cloudVendor;

    //事件发生的创建者名称
    @ApiModelProperty(value = "事件发生的创建者名称")
    private String k8sClusterUserName;

    //事件类型
    @ApiModelProperty(value = "事件类型")
    private String eventType;

    //消息内容
    @ApiModelProperty(value = "消息内容")
    private String msg;

    //命名空间
    @ApiModelProperty(value = "命名空间")
    private String namespace;

    //调用对象
    @ApiModelProperty(value = "调用对象")
    private String involvedObj;

    //源
    @ApiModelProperty(value = "源")
    private String resource;

    //createTime
    @ApiModelProperty(value = "发生时间")
    private LocalDateTime createTime;

    //备注
    @ApiModelProperty(value = "备注")
    private String note;

    //原因
    @ApiModelProperty(value = "原因")
    private String reason;

    /**
     * get
     *
     * @return K8sClusterName
     */
    public String getK8sClusterName() {
        return k8sClusterName;
    }

    /**
     * set
     *
     * @param k8sClusterName k8sClusterName
     */
    public void setK8sClusterName(String k8sClusterName) {
        this.k8sClusterName = k8sClusterName;
    }

    /**
     * get
     *
     * @return K8sClusterIp
     */
    public String getK8sClusterIp() {
        return k8sClusterIp;
    }

    /**
     * set
     *
     * @param k8sClusterIp k8sClusterIp
     */
    public void setK8sClusterIp(String k8sClusterIp) {
        this.k8sClusterIp = k8sClusterIp;
    }

    /**
     * get
     *
     * @return CloudVendor
     */
    public String getCloudVendor() {
        return cloudVendor;
    }

    /**
     * set
     *
     * @param cloudVendor cloudVendor
     */
    public void setCloudVendor(String cloudVendor) {
        this.cloudVendor = cloudVendor;
    }

    /**
     * get
     *
     * @return K8sClusterUserName
     */
    public String getK8sClusterUserName() {
        return k8sClusterUserName;
    }

    /**
     * set
     *
     * @param k8sClusterUserName k8sClusterUserName
     */
    public void setK8sClusterUserName(String k8sClusterUserName) {
        this.k8sClusterUserName = k8sClusterUserName;
    }

    /**
     * get
     *
     * @return EventType
     */
    public String getEventType() {
        return eventType;
    }

    /**
     * set
     *
     * @param eventType eventType
     */
    public void setEventType(String eventType) {
        this.eventType = eventType;
    }

    /**
     * get
     *
     * @return Msg
     */
    public String getMsg() {
        return msg;
    }

    /**
     * set
     *
     * @param msg msg
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * get
     *
     * @return Namespace
     */
    public String getNamespace() {
        return namespace;
    }

    /**
     * set
     *
     * @param namespace namespace
     */
    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    /**
     * get
     *
     * @return InvolvedObj
     */
    public String getInvolvedObj() {
        return involvedObj;
    }

    /**
     * set
     *
     * @param involvedObj involvedObj
     */
    public void setInvolvedObj(String involvedObj) {
        this.involvedObj = involvedObj;
    }

    /**
     * get
     *
     * @return Resource
     */
    public String getResource() {
        return resource;
    }

    /**
     * set
     *
     * @param resource resource
     */
    public void setResource(String resource) {
        this.resource = resource;
    }

    /**
     * get
     *
     * @return CreateTime
     */
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    /**
     * set
     *
     * @param createTime createTime
     */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    /**
     * get
     *
     * @return Note
     */
    public String getNote() {
        return note;
    }

    /**
     * set
     *
     * @param note note
     */
    public void setNote(String note) {
        this.note = note;
    }

    /**
     * get
     *
     * @return Reason
     */
    public String getReason() {
        return reason;
    }

    /**
     * set
     *
     * @param reason reason
     */
    public void setReason(String reason) {
        this.reason = reason;
    }
}
